<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%
response.setHeader("Cache-Control","no-cache");  
response.setHeader("Pragma","no-cache");  
response.setDateHeader ("Expires", 0);
%>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta Http-Equiv="Cache-Control" Content="no-cache">  
<meta Http-Equiv="Pragma" Content="no-cache">  
<meta Http-Equiv="Expires" Content="0">
<link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>
<style type="text/css">
    <%@include file="../../css1/estilo.css" %>
    <%@include file="../../css1/texto.css" %>
</style>
<title>AreaAdmin</title>

 
<meta http-equiv="refresh" content="<%=session.getMaxInactiveInterval()%>;admin/paginaexpirada.jsp">
</head>
<body>
  <%  
    //verifica se a sessao do usuario é válida  
    if (session.getAttribute("controla") == null)  
    {  
            response.sendRedirect("admin/paginaexpirada.jsp");  
    }  
    %>
    


 <img src="imagens/aguia.png"   width="24%" height= "255"/>
 <div id="adminImagen"><h3>Bem vindo! <%= session.getAttribute("controla") %>. &nbsp;&nbsp;Você está na Area de Administrador</h3> </div> <br/>
<br>
<div id=logout>
<a href="http://localhost:8080/jeferson/logar?estado=limpa" > <span>Logout</span></a>
<%
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Cache-Control", "no-store");
response.setHeader("Pragma", "no-cache");
response.setDateHeader("Expires", 0);
 %>
 </div>
<br>
Your session is about to expire in <%= session.getMaxInactiveInterval() %> seconds.<br/>

<div id='nav'> <!-- inicio da div menu -->
<ul>
   <li><a href="user.jsp"><span>Inserir usuario</span></a></li>
   <li><a href="evento.jsp"><span>Inserir Eventos</span></a></li>
    <li><a href="albumFotos.jsp"><span>Inserir Album</span></a></li>
   <li><a href="http://localhost:8080/jeferson/controllerFotos?acao=listarAlbum"><span>Inserir Fotos</span></a></li>
   <li><a href="admin/videos.jsp"><span>Inserir Videos</span></a></li>
   <li><a href="admin/membros.jsp"><span>Inserir Membros</span></a></li>
   <li><a href="admin/produtos.jsp"><span>Inserir Produtos</span></a></li>
   
</ul>
</div><!-- fim da div menu --> <br>


</body>
</html>